package com.songcha.module_mine.ui.fragment.message.my_comment

import com.songcha.library_base.mvvm.base.BaseRepository
import com.songcha.library_network.bean.BaseBean
import com.songcha.module_mine.api.MineApiManager
import com.songcha.module_mine.bean.MyBookCommentDataBean
import io.reactivex.Observable
import retrofit2.http.Path

class MessageMyCommentRepository:BaseRepository() {
    fun getMyCommentList(): Observable<MyBookCommentDataBean>{
        return MineApiManager.api.getMyCommentList()
    }

    fun delMyComment(commentId:Int):Observable<BaseBean>{
        return MineApiManager.api.delMyComment(commentId)
    }
}